Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

636137 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/167 - Math Game

preview.gif cody/swapnilsparsh/30DaysOfJavaScript/167 - Math Game/preview.gif
55 Views
0 Comments
Media file
style.css cody/swapnilsparsh/30DaysOfJavaScript/167 - Math Game/style.css
108 Views
0 Comments
body{
background-color: #fff;
background-size: 8px 8px, 8px 8px;
background-position: center, center;
background-image: linear-gradient(#ebf4f9 1px, transparent 1px),linear-gradient(90deg, #ebf4f9 1px, transparent 1px);
}

.game {
index.html cody/swapnilsparsh/30DaysOfJavaScript/167 - Math Game/index.html
330 Views
0 Comments
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Math Game</title>
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css'><link rel="stylesheet" href="./style.css">

</head>
readme.md cody/swapnilsparsh/30DaysOfJavaScript/167 - Math Game/readme.md
181 Views
0 Comments
# Math Game
- Try To Answer as many Calculation Possible.

![](./preview.gif)

script.js cody/swapnilsparsh/30DaysOfJavaScript/167 - Math Game/script.js
174 Views
0 Comments
angular.module('app', []).controller('GameCtrl', ['$scope', '$timeout', function($scope, $timeout){
$scope.variables = {};
$scope.correct = 0;
$scope.wrong = 0;
$scope.timer = 0;
_start = false;
_end = false;
var _answer = null;